﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserView.Master" AutoEventWireup="true" CodeBehind="SearchGoods.aspx.cs" Inherits="Web.SearchGoods" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Content/Css/GoodsCard.css" rel="stylesheet" />
    <style>
        .text_tips {
            text-align: center;
            font-size: 30px;
            color: gray;
            position: relative;
            top: 170px;
            left: 30%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="container flex-repeater">
        <asp:Label ID="text_tips" runat="server" Text="" CssClass="text_tips"></asp:Label>
        <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
                <div class="GoodsCard">
                    <a href='GoodsDesc.aspx?GoodsID=<%#Eval("GoodsID") %>'>
                        <dl>
                            <dt>
                                <img src='Content/Images/Goods/<%#Eval("GoodsPic") %>' alt="Alternate Text" />
                            </dt>
                            <dd class="GoodsName"><%#Eval("GoodsName") %></dd>
                            <dd class="GoodsDESC"><%#Eval("GoodsDESC") %></dd>
                            <dd class="GoodsPrice">&yen;<%#Eval("GoodsPrice") %></dd>
                        </dl>
                    </a>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div class-="container">
        <p align="center">
            <asp:Button ID="Button3" runat="server" Text="首页" CssClass="btn btn-sm btn-info" OnClick="Button3_Click" />
            <asp:Button ID="Button4" runat="server" Text="上一页" CssClass="btn btn-sm btn-info" OnClick="Button4_Click" />
            <asp:TextBox ID="TextBox1" runat="server" CssClass="pagecode"></asp:TextBox>
            <asp:Button ID="Button7" runat="server" Text="跳转" CssClass="btn btn-sm btn-info" OnClick="Button7_Click" />
            <asp:Button ID="Button5" runat="server" Text="下一页" CssClass="btn btn-sm btn-info" OnClick="Button5_Click" />
            <asp:Button ID="Button6" runat="server" Text="尾页" CssClass="btn btn-sm btn-info" OnClick="Button6_Click" />
            <asp:Label ID="Label1" runat="server" Text="Label">

            </asp:Label>
        </p>
    </div>
</asp:Content>
